using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysUserEntity : EntityBase
{
public SysUserTable TableSchema
{
get
{
return (SysUserTable)_tableSchema;
}}

public SysUserEntity()
{
_tableSchema = SysUserTable.Current;
}

#region 属性列表

public String UserID
{
get { return Convert.ToString(GetData(SysUserTable.C_USERID)); }
set { SetData(SysUserTable.C_USERID, value); }
}

public String UserName
{
get { return Convert.ToString(GetData(SysUserTable.C_USERNAME)); }
set { SetData(SysUserTable.C_USERNAME, value); }
}

public String UserNamePinyin
{
get { return Convert.ToString(GetData(SysUserTable.C_USERNAMEPINYIN)); }
set { SetData(SysUserTable.C_USERNAMEPINYIN, value); }
}

public String UserNamePYFirstChar
{
get { return Convert.ToString(GetData(SysUserTable.C_USERNAMEPYFIRSTCHAR)); }
set { SetData(SysUserTable.C_USERNAMEPYFIRSTCHAR, value); }
}

public String UpperUserID
{
get { return Convert.ToString(GetData(SysUserTable.C_UPPERUSERID)); }
set { SetData(SysUserTable.C_UPPERUSERID, value); }
}

public String Tel
{
get { return Convert.ToString(GetData(SysUserTable.C_TEL)); }
set { SetData(SysUserTable.C_TEL, value); }
}

public String Mobile
{
get { return Convert.ToString(GetData(SysUserTable.C_MOBILE)); }
set { SetData(SysUserTable.C_MOBILE, value); }
}

public String EmployeeType
{
get { return Convert.ToString(GetData(SysUserTable.C_EMPLOYEETYPE)); }
set { SetData(SysUserTable.C_EMPLOYEETYPE, value); }
}

public String Mail
{
get { return Convert.ToString(GetData(SysUserTable.C_MAIL)); }
set { SetData(SysUserTable.C_MAIL, value); }
}

public String Units
{
get { return Convert.ToString(GetData(SysUserTable.C_UNITS)); }
set { SetData(SysUserTable.C_UNITS, value); }
}

public String Status
{
get { return Convert.ToString(GetData(SysUserTable.C_STATUS)); }
set { SetData(SysUserTable.C_STATUS, value); }
}

public String Password
{
get { return Convert.ToString(GetData(SysUserTable.C_PASSWORD)); }
set { SetData(SysUserTable.C_PASSWORD, value); }
}

public DateTime? PasswordChangeDate
{
get { return Convert.ToDateTime(GetData(SysUserTable.C_PASSWORDCHANGEDATE)); }
set { SetData(SysUserTable.C_PASSWORDCHANGEDATE, value); }
}

public String IsDefaultPwd
{
get { return Convert.ToString(GetData(SysUserTable.C_ISDEFAULTPWD)); }
set { SetData(SysUserTable.C_ISDEFAULTPWD, value); }
}

public DateTime? LastestLoginDate
{
get { return Convert.ToDateTime(GetData(SysUserTable.C_LASTESTLOGINDATE)); }
set { SetData(SysUserTable.C_LASTESTLOGINDATE, value); }
}

public String CreateUserID
{
get { return Convert.ToString(GetData(SysUserTable.C_CREATEUSERID)); }
set { SetData(SysUserTable.C_CREATEUSERID, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(SysUserTable.C_CREATEDATE)); }
set { SetData(SysUserTable.C_CREATEDATE, value); }
}

public String ModifyUserID
{
get { return Convert.ToString(GetData(SysUserTable.C_MODIFYUSERID)); }
set { SetData(SysUserTable.C_MODIFYUSERID, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(SysUserTable.C_MODIFYDATE)); }
set { SetData(SysUserTable.C_MODIFYDATE, value); }
}

public String DepartmentID
{
get { return Convert.ToString(GetData(SysUserTable.C_DEPARTMENTID)); }
set { SetData(SysUserTable.C_DEPARTMENTID, value); }
}

public String JobTitleID
{
get { return Convert.ToString(GetData(SysUserTable.C_JOBTITLEID)); }
set { SetData(SysUserTable.C_JOBTITLEID, value); }
}

public String USERLOGINID
{
get { return Convert.ToString(GetData(SysUserTable.C_USERLOGINID)); }
set { SetData(SysUserTable.C_USERLOGINID, value); }
}

public String CanUseRole
{
get { return Convert.ToString(GetData(SysUserTable.C_CANUSEROLE)); }
set { SetData(SysUserTable.C_CANUSEROLE, value); }
}
public String IsGeneral
{
    get { return Convert.ToString(GetData(SysUserTable.C_ISGENERAL)); }
    set { SetData(SysUserTable.C_ISGENERAL, value); }
}

#endregion
}
}